package com.example.springmvc.handler;

/**
 * @version 1.0
 * @Author 彭彦彬
 * @Date 2025/4/8 21:48
 * @注释
 */


import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.lang.reflect.Method;

public class HandlerMapping {
    private Object controller;
    private Method method;
    private String url;

    public HandlerMapping(Object controller, Method method, String url) {
        this.controller = controller;
        this.method = method;
        this.url = url;
    }

    public Object getController() {
        return controller;
    }

    public Method getMethod() {
        return method;
    }

    public String getUrl() {
        return url;
    }
}

